package com.net.toooen.api.request;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @ClassName: LoginRequest
 * @Description: 登录请求参数
 * @author wangshaofeng
 * @date 2016年3月8日 下午7:56:51
 */
public class LoginRequest extends Request {

	private static final long serialVersionUID = -6892352768585167456L;

	/**
	 * @Fields loginName : 登录名
	 */
	private String loginName;

	/**
	 * @Fields password : 密码
	 */
	private String password;


	@NotBlank
	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	@NotBlank
	@Length(max = 32)
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	

}
